/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.surfmanager.model.result;


public class Result implements java.io.Serializable{
    private Object objectResult;
    private CodeType code;

    public Result(Object objectResult, CodeType code) {
        this.objectResult = objectResult;
        this.code = code;
    }

    public Object getObjectResult() {
        return objectResult;
    }

    public void setObjectResult(Object objectResult) {
        this.objectResult = objectResult;
    }

    public CodeType getCode() {
        return code;
    }

    public void setCode(CodeType code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Result{" + "objectResult=" + objectResult + ", code=" + code + '}';
    }
    
    
}
